package com.lxw.service.impl;

import com.lxw.dao.TUserMapper;
import com.lxw.pojo.TUser;
import com.lxw.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private TUserMapper userMapper;
    @Override
    public List<TUser> selectUser1(Integer id) {
        return userMapper.selectUser(id);
    }

    @Override
    public boolean updateUser1(TUser user) {
        return userMapper.updateUser(user);
    }

    @Override
    public boolean detUser1(Integer id) {
        return userMapper.detUser(id);
    }

}